package com.yeskery.nut.web.demo.config;

import com.yeskery.nut.annotation.bean.Component;
import com.yeskery.nut.annotation.condition.ConditionalOnProfile;

import java.util.logging.Logger;

/**
 * Jetty输出配置
 * @author YESKERY
 * 2023/9/7
 */

@ConditionalOnProfile("dev")
@Component
public class DevComponentPrintConfig {

    /** 日志对象 */
    private static final Logger logger = Logger.getLogger(DevComponentPrintConfig.class.getName());

    public DevComponentPrintConfig() {
        logger.info("当前运行在[dev]环境");
    }
}
